Zero some variables to silence valgrind. (#495124, Morten Welinder)
authorMatthias Clasen <mclasen@redhat.com>
Tue, 27 Nov 2007 18:15:28 +0000 (18:15 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 27 Nov 2007 18:15:28 +0000 (18:15 +0000)
2007-11-27  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
        variables to silence valgrind.  (#495124, Morten Welinder)

svn path=/trunk/; revision=19077

ChangeLog
gtk/gtkwindow.c

index e0aae44431e4ac8b714730acd9747e1f88f4f51a..414824e42c5598b82ae835464051c943926961dd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-11-27  Matthias Clasen <mclasen@redhat.com>
+
+       * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
+       variables to silence valgrind.  (#495124, Morten Welinder)
+
 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
 
        * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
index 43d19d1a55b209be4acd9e96012cf02a09a663f7..13948fe3a20b65bd50e81d40f8f58bd03aca481c 100644 (file)
@@ -6061,6 +6061,8 @@ gtk_window_move_resize (GtkWindow *window)
          GtkAllocation allocation;
 
          /* Directly size allocate for override redirect (popup) windows. */
+          allocation.x = 0;
+         allocation.y = 0;
          allocation.width = new_request.width;
          allocation.height = new_request.height;